package org.jeecg.modules.demo.com.kunpeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.demo.com.kunpeng.entity.ProjectPurchaseApply;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProjectPurchaseApplyMapper extends BaseMapper<ProjectPurchaseApply> {


    /**
     * 根据项目采购表id删除项目采购申请表数据
     * @param PPId
     * @return
     */
    int deleteByPPId(String PPId);

    /**
     * 根据ppId修改表信息
     */
    int updateByPPId(ProjectPurchaseApply projectPurchaseApply);

    /**
     * 根据项目采购表id查询项目采购申请
     * @param PPId
     * @return
     */
    List<ProjectPurchaseApply> listByPPId(String PPId);
}
